#include"map.h"

int main() {
	set<int> s;
	s.insert(4);
	s.insert(2);
	s.insert(5);
	s.insert(15);
	s.insert(7);
	s.insert(1);
	s.insert(5);
	s.insert(7);

	set<int>::iterator it = s.begin();
	while (it != s.end())
	{
		//*it += 5;

		cout << *it << " ";
		++it;
	}
	cout << endl;

	for (auto e : s)
	{
		cout << e << " ";
	}
	cout << endl;

	set<int> copy = s;
	for (auto e : copy)
	{
		cout << e << " ";
	}
	cout << endl;
}